package com.hutao.sso.service.authority;

import java.util.List;
import java.util.Map;

import com.hutao.sso.pojo.newAuthority.Roles;
import com.hutao.sso.util.Result;

public interface RoleService {
	public List<Map<String, Object>> findRolesListByUserHospitalId(Map<String, Object> params);
	
	public List<Roles> findRolesListPage(Map<String, Object> params);
	   
	public long findRolesCountPage(Map<String, Object> params);
	
	public int insertRoles(Roles roles);
	   
	public long findCountByRoleName(Map<String, Object> params);
	
	public int updateRoles(Roles roles);
	   
	public Roles findRoleById(Map<String, Object> params);
	
	public Result deleteRoleById(Map<String, Object> params);
	
	 //通过userHospitalId查询所有的角色
	public List<Map<String, Object>> findRoleListByUserHospitalId(Map<String, Object> params);
	
	

}
